package main

import "fmt"

type Book struct {
	name string
	author string
	ISBN uint32
}

func main()  {
	var book1 = Book{author: "yang", name: "haha", ISBN: 1}
	fmt.Println(book1.name, book1.author)

	var bookPtr *Book = &book1
	bookPtr.name = "xiu"
	fmt.Println(book1.name, book1.author)
}
